
/* -------------------- */
/*         MAIN         */
/* -------------------- */

*{ 
	padding:0; margin: 0;
	-o-user-select:none; -ms-user-select:none; -khtml-user-select:none; 
	-webkit-user-select:none; -moz-user-select: none;/* pointer-events:none; */
	box-sizing:border-box; -moz-box-sizing:border-box; -webkit-box-sizing:border-box;
}
html, body {
	font-family: Consolas, 'ConsolasRegular', 'Courier New', monospace;
	font-size: 12px;
    height:100%;
    background:#25292e;
    color:#d2cec8;
    /*text-shadow: 1px 1px 1px rgba(0,0,0,0.3);*/
    overflow:hidden;
    font-smooth: never;
    -webkit-font-smoothing : none;
    /*pointer-events:none;*/
}

a{
    color: #FFFFFF;
    font-size: 10px;
    text-decoration: none;

}

.night { background:#25292e; color:#d2cec8; }
.day { background:#d2cec8; color:#25292e; text-shadow: 1px 1px 1px rgba(0,0,0,0.3);}

/* PREVIEW */

.preview{
	position:absolute; border:none; display:none;
	pointer-events:auto; background:none; z-index:0;
}

/* PRESENTATION */

.press{
    font-size: 12px; position:absolute; left:0; bottom:10px; width:100%; height:30px; text-align:center;
}

/* LOGO */

.logo {
	position:absolute; left:50%; top:50%; margin-left:-64px; margin-top:-53px; width:128px; height:128px; 
	text-align:center; pointer-events:none;/* cursor:pointer;*/
  /*-webkit-filter: drop-shadow( 0px 0px 1px #000 );
  filter: drop-shadow( 0px 0px 1px #000 )*/
}

.lmin { 
	top:20px;
	-webkit-transform: scale(0.4688,0.4688);
	-moz-transform: scale(0.4688,0.4688);
	-o-transform: scale(0.4688,0.4688);
	transform: scale(0.4688,0.4688);
	-webkit-transition: 0.2s ease-out;
	-moz-transition: 0.2s ease-out;
    -o-transition: 0.2s ease-out;
    transition: 0.2s ease-out;
}
.lmax { 
	pointer-events:auto; cursor:pointer;
	top:60px;
	-webkit-transform: scale(1,1);
	-moz-transform: scale(1,1); 
	-o-transform: scale(1,1); 
	transform: scale(1,1); 
	-webkit-transition: 0.2s ease-out;
	-moz-transition: 0.2s ease-out;
    -o-transition: 0.2s ease-out;
    transition: 0.2s ease-out;
}

/* PUCE */

.puce{ 
    position:absolute; margin-left:-25px; margin-top:-25px; width:50px; height:50px; pointer-events:none; display:none;
}

@-webkit-keyframes rotating /* Safari and Chrome */ {
  from {
    -ms-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -ms-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes rotating {
  from {
    -ms-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -ms-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
.phide {
    display:none;
}
.rotating {
    display:block;
    -webkit-animation: rotating 1s linear infinite;
    -moz-animation: rotating 1s linear infinite;
    -ms-animation: rotating 1s linear infinite;
    -o-animation: rotating 1s linear infinite;
    animation: rotating 1s linear infinite;
}

/* TITLE */

.title {
	text-align:center;
	position:absolute; left:50%; top:50%;  margin-left:-64px; margin-top:-100px; width:128px; height:54px;  pointer-events:none;
	/*border: dashed 1px red;*/
}

/* MENU */

.menu { position:absolute; top:0; left:0; width:100%; height:100%;  overflow:hidden; z-index:2; }
.night .menu{ color:#d2cec8; }
.day .menu{  color:#25292e; }

.home {  width:100%;  }
.exemple {  width:60px;  }
.night .In {  width:180px; 
    background:#25292e;
    /*box-shadow:-12px 0px 12px -12px rgba(0, 0, 0, 0.3) inset;*/
    -webkit-transition: 0.2s ease-out;
    -moz-transition: 0.2s ease-out;
    -o-transition: 0.2s ease-out;
    transition: 0.2s ease-out;
}
.day .In {  width:180px; 
    background:#d2cec8;
    /*box-shadow:-12px 0px 12px -12px rgba(0, 0, 0, 0.3) inset;*/
    -webkit-transition: 0.2s ease-out;
    -moz-transition: 0.2s ease-out;
    -o-transition: 0.2s ease-out;
    transition: 0.2s ease-out;
}
.Out { width:60px;
    background:none;
    /*box-shadow:none;*/
    -webkit-transition: 0.2s ease-out;
    -moz-transition: 0.2s ease-out;
    -o-transition: 0.2s ease-out;
    transition: 0.2s ease-out;
}

.bottomLeftMenu {
	position:absolute; bottom:20px; width:100%; height:22px; text-align:center; overflow:hidden;
}

.ic{ display:block; width:158px; height:30px; cursor:pointer; pointer-events:auto; }

.night .icover {background:#393f45;}
.day .icover {background:#c6c0ba;}
.icout {background:none;}

/* EDITOR */

.editor {
	position:absolute; background-color:none; pointer-events:auto; display:none; border:none; box-shadow: -12px -12px 12px -12px rgba(0, 0, 0, 0.3) inset; z-index:1;

}

/* ZONE */

.zone {
	position:absolute; left:10px; top:180px; width:calc(100% - 20px); height:calc(100% - 260px);
	/*border:1px dashed rgba(0,0,0,0.1); */
    pointer-events:auto; overflow:hidden;
}

/*.day .zone   {border:1px dashed rgba(0,0,0,0.1);}
.night .zone {border:1px dashed rgba(255, 255, 255, 0.1);}*/
.day .border   {border:1px dashed rgba(0,0,0,0.1);}
.night .border {border:1px dashed rgba(255, 255, 255, 0.1);}

.day .hover { border: 1px dashed rgba(0,0,0,0.3); }
.night .hover { border: 1px dashed rgba(255, 255, 255 ,0.3); }

/* BUTTON */

.b{
	width:20px; height:20px; font-size:14px; cursor:pointer; border:1px solid #25292e;
	text-align:center; pointer-events:auto; display:inline-block; border-radius:20px; margin:2px;
}

.day .b   {border:1px solid #25292e;}
.night .b {border:1px solid #d2cec8;}

/* EXTRA */

.minilogoOut{
	position:absolute; right:25px; top:25px; width:220px; height:36px; text-align: right; pointer-events:none;
}

.mmmlogo{
	width:36px; height:36px; display:inline-block; margin-left:6px; pointer-events:auto;
}

.topColor{
	position: absolute; left:0; top:0; width:100%; height:5px; 
	box-shadow: -12px -12px 12px -12px rgba(0, 0, 0, 0.3) inset;
}

/* LABS MENU */

.labsMenu{ position: absolute; left:0; top:0; width:100%; height:100%; pointer-events:auto;}
.labsCanvas{ position: absolute; left:50%; top:50%; margin-left:-400px; margin-top:-400px; width:800px; height:800px; pointer-events:none; }
.pinsContent{ position: absolute; left:50%; top:50%; margin-left:-400px; margin-top:-400px; width:10px; height:10px; pointer-events:none; z-index:1; }

.labsTitle{ 
    display: inline-block;
    border-radius: 30px;
	position: absolute; left:30px; top:28px;  /*width:200px;*/
	font-weight:900; word-spacing: -8px; font-size:26px;
	padding:0px; padding-left:12px; padding-right:12px; color:#25292e; pointer-events:none;
	-webkit-transition: 0.3s ease-out;
    -moz-transition: 0.3s ease-out;
    -o-transition: 0.3s ease-out;
    transition: 0.3s ease-out;
}
.labsSubTitle{ 
	position: absolute; left:30px; top:60px;  width:200px;
	font-weight:400; word-spacing: -4px; font-size:20px;
	padding:4px; padding-left:12px; padding-right:12px; color:#d2cec8; pointer-events:none; 
}
.pins{
	/*position:absolute; width:40px; height:40px; margin-left:-20px;
	margin-top:-20px; border-radius:20px; pointer-events:auto; cursor:pointer;*/
	position:absolute; width:2px; height:2px; margin-left:-1px; margin-top:-1px; border-radius:1px;
	/*width:30px; height:30px; margin-left:-15px; margin-top:-15px; border-radius:15px;*/
	pointer-events:auto; cursor:pointer;
    -webkit-transition: 0.1s ease-out;
    -moz-transition: 0.1s ease-out;
    -o-transition: 0.1s ease-out;
    transition: 0.1s ease-out;
}
.pinsin{
	position:absolute;
	pointer-events:none;
	width:30px; height:30px;
	display:none;
}
.pinsinon{
	display:block;
}

.pinson{
	width:30px; height:30px; margin-left:-15px; margin-top:-15px; border-radius:15px;
}


/* -------------------- */
/*     CODE MIRROR      */
/* -------------------- */

.CodeMirror {
    /*padding-top: 20px;
    padding-bottom: 10px;*/
    height: 100%;
    font-family: Consolas, 'ConsolasRegular', 'Courier New', monospace;
    -webkit-font-smoothing: subpixel-antialiased;
    font-size: 14px;
    line-height: 123%;
    /*letter-spacing:0px;
    padding-right: 20px;*/
    background-color: none;
    border:none;
    margin-left:60px;
    /*-webkit-transform: translateZ(0);
     backface-visibility: hidden;
    transform: translate3d(0,0,0);*/
}

/* PADDING */

.CodeMirror-lines {
    padding: 4px 0; /* Vertical padding around content */
}
.CodeMirror pre {
    padding: 0 4px; /* Horizontal padding of content */
}


/*BOTTOM CORNER*/
.CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
    background:none;
}

.CodeMirror-focused .cm-matchhighlight { 
    background-image: url();
    background-position: bottom;
    background-repeat: repeat-x;
}

/* GUTTER */

.CodeMirror-gutters {
    border-right: 1px solid #ddd;
    /*background-color: #D0D0D0;*/
    background: none;
    white-space: nowrap;
}
.CodeMirror-linenumbers {}
.CodeMirror-linenumber {
    padding: 0 3px 0 5px;
    min-width: 20px;
    text-align: right;
    /*background: #D0D0D0;*/
    background: none;
    color: #AAA;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

.CodeMirror-guttermarker { color: black; }
.CodeMirror-guttermarker-subtle { color: #999; }

/* CURSOR */

.CodeMirror div.CodeMirror-cursor {
    border-left: 1px solid black;
}
/* Shown when moving in bi-directional text */
.CodeMirror div.CodeMirror-secondarycursor {
    border-left: 1px solid silver;
}
.CodeMirror.cm-fat-cursor div.CodeMirror-cursor {
    width: auto;
    border: 0;
    background: #7e7;
}
.CodeMirror.cm-fat-cursor div.CodeMirror-cursors {
    z-index: 1;
}

.cm-animate-fat-cursor {
    width: auto;
    border: 0;
    -webkit-animation: blink 1.06s steps(1) infinite;
    -moz-animation: blink 1.06s steps(1) infinite;
    animation: blink 1.06s steps(1) infinite;
}
@-moz-keyframes blink {
    0% { background: #7e7; }
    50% { background: none; }
    100% { background: #7e7; }
}
@-webkit-keyframes blink {
    0% { background: #7e7; }
    50% { background: none; }
    100% { background: #7e7; }
}
@keyframes blink {
    0% { background: #7e7; }
    50% { background: none; }
    100% { background: #7e7; }
}

/* Can style cursor different in overwrite (non-insert) mode */
div.CodeMirror-overwrite div.CodeMirror-cursor {}

.cm-tab { display: inline-block; text-decoration: inherit; }

.CodeMirror-ruler {
    border-left: 1px solid #ccc;
    position: absolute;
}

/* DEFAULT THEME */

.cm-s-default .cm-keyword {color: #708;}
.cm-s-default .cm-atom {color: #219;}
.cm-s-default .cm-number {color: #164;}
.cm-s-default .cm-def {color: #00f;}
.cm-s-default .cm-variable,
.cm-s-default .cm-punctuation,
.cm-s-default .cm-property,
.cm-s-default .cm-operator {}
.cm-s-default .cm-variable-2 {color: #05a;}
.cm-s-default .cm-variable-3 {color: #085;}
.cm-s-default .cm-comment {color: #a50;}
.cm-s-default .cm-string {color: #a11;}
.cm-s-default .cm-string-2 {color: #f50;}
.cm-s-default .cm-meta {color: #555;}
.cm-s-default .cm-qualifier {color: #555;}
.cm-s-default .cm-builtin {color: #30a;}
.cm-s-default .cm-bracket {color: #997;}
.cm-s-default .cm-tag {color: #170;}
.cm-s-default .cm-attribute {color: #00c;}
.cm-s-default .cm-header {color: blue;}
.cm-s-default .cm-quote {color: #090;}
.cm-s-default .cm-hr {color: #999;}
.cm-s-default .cm-link {color: #00c;}

.cm-negative {color: #d44;}
.cm-positive {color: #292;}
.cm-header, .cm-strong {font-weight: bold;}
.cm-em {font-style: italic;}
.cm-link {text-decoration: underline;}
.cm-strikethrough {text-decoration: line-through;}

.cm-s-default .cm-error {color: #f00;}
.cm-invalidchar {color: #f00;}

/* Default styles for common addons */

div.CodeMirror span.CodeMirror-matchingbracket {color: #0f0;}
div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;}
.CodeMirror-matchingtag { background: rgba(255, 150, 0, .3); }
.CodeMirror-activeline-background {background: #e8f2ff;}

/* STOP */

/* The rest of this file contains styles related to the mechanics of
   the editor. You probably shouldn't touch them. */

.CodeMirror {
    line-height: 123%;
    position: relative;
    overflow: hidden;
    background: none;
    color: #2b2e41;
}

.CodeMirror-scroll {
    overflow: scroll !important; /* Things will break if this is overridden */
    /* 30px is the magic margin used to hide the element's real scrollbars */
    /* See overflow: hidden in .CodeMirror */
    margin-bottom: -30px; margin-right: -30px;
    padding-bottom: 30px;
    height: 100%;
    outline: none; /* Prevent dragging from highlighting the element */
    position: relative;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}
.CodeMirror-sizer {
    position: relative;
    border-right: 30px solid transparent;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

/* The fake, visible scrollbars. Used to force redraw during scrolling
   before actuall scrolling happens, thus preventing shaking and
   flickering artifacts. */
.CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
    position: absolute;
    z-index: 6;
    display: none;
} 
.CodeMirror-vscrollbar { right: 0; top: 0; overflow-x: hidden; overflow-y: scroll; }
.CodeMirror-hscrollbar { bottom: 0; left: 0; overflow-y: hidden; overflow-x: scroll; }
.CodeMirror-scrollbar-filler { right: 0; bottom: 0; }
.CodeMirror-gutter-filler { left: 0; bottom: 0; }
.CodeMirror-gutters { position: absolute; left: 0; top: 0; z-index: 3; }
.CodeMirror-gutter {
    white-space: normal;
    height: 100%;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    display: inline-block;
    margin-bottom: -30px;
    /* Hack to make IE7 behave */
    *zoom:1;
    *display:inline;
}
.CodeMirror-gutter-wrapper { position: absolute; z-index: 4;  height: 100%; }
.CodeMirror-gutter-elt { position: absolute; cursor: default; z-index: 4; }
.CodeMirror-lines { cursor: text; min-height: 1px; /* prevents collapsing before first draw */ }
.CodeMirror pre {
    /* Reset some styles that the rest of the page might have set */
    -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0;
    border-width: 0;
    background: transparent;
    font-family: inherit;
    font-size: inherit;
    margin: 0;
    white-space: pre;
    word-wrap: normal;
    line-height: inherit;
    color: inherit;
    z-index: 2;
    position: relative;
    overflow: visible;
}
.CodeMirror-wrap pre { word-wrap: break-word; white-space: pre-wrap; word-break: normal; }
.CodeMirror-linebackground { position: absolute; left: 0; right: 0; top: 0; bottom: 0; z-index: 0; }
.CodeMirror-linewidget { position: relative; z-index: 2; overflow: auto; }
.CodeMirror-widget {}
.CodeMirror-measure { position: absolute; width: 100%; height: 0; overflow: hidden; visibility: hidden; }
.CodeMirror-measure pre { position: static; }

.CodeMirror div.CodeMirror-cursor { position: absolute; border-right: none; width: 0; }
div.CodeMirror-cursors { visibility: hidden; position: relative; z-index: 3; }
.CodeMirror-focused div.CodeMirror-cursors { visibility: visible; }

.CodeMirror-selected { background: #d9d9d9; }
.CodeMirror-focused .CodeMirror-selected { background: #d7d4f0; }
.CodeMirror-crosshair { cursor: crosshair; }

.cm-searching {
    background: #ffa;
    background: rgba(255, 255, 0, .4);
}

/* IE7 hack to prevent it from returning funny offsetTops on the spans */
.CodeMirror span { *vertical-align: text-bottom; }

/* Used to force a border model for a node */
.cm-force-border { padding-right: .1px; }

@media print {
    /* Hide the cursor when printing */
    .CodeMirror div.CodeMirror-cursors {
       visibility: hidden;
    }
}

/* See issue #2901 */
.cm-tab-wrap-hack:after { content: ''; }

/* Help users use markselection to safely style text background */
span.CodeMirror-selectedtext { background: none; }



/* Based on Sublime Text's Monokai theme */

.cm-s-monokai.CodeMirror {background: none; color: #D0D0D0;}
/*.cm-s-monokai .cm-punctuation {color:#D0D0D0;}*/
.cm-s-monokai div.CodeMirror-selected {background: rgba(100,100,100,0.3) !important;}
.cm-s-monokai .CodeMirror-gutters {background:none; color:#ffffff; border-right: 0px;}
.cm-s-monokai .CodeMirror-guttermarker { color: white; }
.cm-s-monokai .CodeMirror-guttermarker-subtle { color: #d0d0d0; }
.cm-s-monokai .CodeMirror-linenumber { color: #606060; background:none; }
.cm-s-monokai .CodeMirror-cursor {border-left: 1px solid #f8f8f0 !important;}

.cm-s-monokai.CodeMirror span.CodeMirror-matchingbracket { color: #7EFC7E; }
.cm-s-monokai span.cm-punctuation {color:#FF0000;}

.cm-s-monokai span.cm-comment {color: #75715e;}
.cm-s-monokai span.cm-atom {color: #ae81ff;}
.cm-s-monokai span.cm-number {color: #ae81ff;}

.cm-s-monokai span.cm-property {color: #a6e22e;}
.cm-s-monokai span.cm-attribute {color: #a6e22e;}
.cm-s-monokai span.cm-keyword {color: #66d9ef;}
.cm-s-monokai span.cm-string {color: #e6db74;}

.cm-s-monokai span.cm-variable {color: #deded4;}
.cm-s-monokai span.cm-variable-2 {color: #9effff;}
.cm-s-monokai span.cm-variable-3 {color: #ff0000;}
.cm-s-monokai span.cm-def {color: #f8f8f2;}
.cm-s-monokai span.cm-bracket {color: #f8f8f2;}
.cm-s-monokai span.cm-tag {color: #f92672;}
.cm-s-monokai span.cm-link {color: #ae81ff;}
.cm-s-monokai span.cm-error {background: #f92672; color: #f8f8f0;}


.cm-s-monokai span.cm-operator {color: #f92672;}
.cm-s-monokai span.cm-qualifier {color: #FF0555;}
.cm-s-monokai span.cm-string-2 {color: #f50;}
.cm-s-monokai span.cm-meta {color: #555;}
.cm-s-monokai span.cm-builtin {color: #ff030a;}
.cm-s-monokai span.cm-hr {color: #999;}
.cm-s-monokai span.cm-header {color: blue;}
.cm-s-monokai span.cm-quote {color: #0F0;}

.cm-s-monokai .CodeMirror-activeline-background {background: #373831 !important;}
.cm-s-monokai .CodeMirror-matchingbracket {
    text-decoration: underline;
    color: white !important;
}

.cm-s-monokai ::-webkit-scrollbar-track:vertical{
    background: none;
    /*background-color: #202020;
    box-shadow: -12px 0px 12px -12px rgba(0, 0, 0, 0.3) inset;*/
}
.cm-s-monokai ::-webkit-scrollbar-track:horizontal{
    background: none;
    /*background-color: #202020;
    box-shadow: 0px -12px 12px -12px rgba(0, 0, 0, 0.3) inset;*/
}

/*.cm-s-monokai .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
  background:none;
}*/

.cm-s-monokai ::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.3);/*#333;*/
    border:5px solid rgba(0,0,0,0);
    border-radius: 25px;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    box-shadow: 1px 1px 0px 1px rgba(255, 255, 255, 0.1) inset;
}
.cm-s-monokai ::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.6);/*#555;*/
}

::-webkit-scrollbar {
    width:20px;
    height:20px;
}
::-webkit-scrollbar-track:vertical{
    background:none;
    /*background-color: #D0D0D0;
    box-shadow: -12px 0px 12px -12px rgba(0, 0, 0, 0.3) inset;*/
}

::-webkit-scrollbar-track:horizontal{
    background:none;
    /*background-color: #D0D0D0;
    box-shadow: 0px -12px 12px -12px rgba(0, 0, 0, 0.3) inset;*/
}
::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.3);
    border:5px solid rgba(0,0,0,0);
    border-radius: 25px;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    box-shadow: 1px 1px 0px 1px rgba(255, 255, 255, 0.1) inset;
}
::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.6);/*#999999;*/
}

/* ERROR */

.CodeMirror .esprima-error {
    color: #f00;
    text-align: left;
    padding: 0px 20px;
}
.CodeMirror .errorLine { background: rgba(255,0,0,0.25); }
.CodeMirror .esprima-error {
    color: #f00;
    text-align: left;
    padding: 0px 20px;
}